package com.lanchetech.dao;
import org.apache.ibatis.annotations.Param;
import java.util.List;

import com.lanchetech.entity.Attribute;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface AttributeMapper {
    int deleteByPrimaryKey(Long id);

    int insert(Attribute record);

    int insertSelective(Attribute record);

    Attribute selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(Attribute record);

    int updateByPrimaryKey(Attribute record);

    List<Attribute> findAllByCategoryId(@Param("categoryId")Long categoryId);


}